Skip to content

Conversation

@rjrudin
Copy link
Contributor

@rjrudin rjrudin commented Nov 18, 2025

No description provided.

Copilot AI review requested due to automatic review settings November 18, 2025 13:34
@github-actions
Copy link

Copyright Validation Results
Total: 2 | Passed: 0 | Failed: 0 | Skipped: 2 | at: 2025-11-18 13:34:49 UTC | commit: 7d4cb0c

⏭️ Skipped (Excluded) Files

  • Jenkinsfile
  • test-app/build.gradle

✅ All files have valid copyright headers!

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses an issue with parallel configuration in Jenkins by fixing the agent allocation for parallel stages and updating the ml-gradle plugin to version 6.2-SNAPSHOT to resolve dependency issues.

Key changes:

  • Modified ml-gradle plugin loading to use buildscript classpath instead of plugins block
  • Updated Jenkins agent configuration to properly allocate agents for parallel stages
  • Replaced static sleep delays with mlWaitTillReady gradle task for more reliable MarkLogic initialization

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
test-app/build.gradle Changed ml-gradle plugin from plugins block to buildscript dependency to enable use of SNAPSHOT version 6.2
Jenkinsfile Fixed parallel execution by setting agent to 'none' at pipeline level and explicitly assigning agents to each stage, plus improved MarkLogic initialization reliability

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +26 to +28
./gradlew -i mlWaitTillReady
sleep 3
./gradlew -i mlWaitTillReady
Copy link

Copilot AI Nov 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running mlWaitTillReady twice with a 3-second sleep in between suggests uncertainty about initialization completion. If mlWaitTillReady is reliable, a single call should suffice. If not, consider adding timeout/retry logic within the task itself or documenting why two calls are necessary.

Suggested change
./gradlew -i mlWaitTillReady
sleep 3
./gradlew -i mlWaitTillReady
# Only one call to mlWaitTillReady should be sufficient; see Jenkinsfile for details.
./gradlew -i mlWaitTillReady

Copilot uses AI. Check for mistakes.
@rjrudin rjrudin merged commit 3791e8a into develop Nov 18, 2025
3 checks passed
@rjrudin rjrudin deleted the feature/parallel-stages branch November 18, 2025 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants